package com.wormhole.wormholemanagement.service;

import com.wormhole.wormholemanagement.entity.Operator;
import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;

public interface OperatorService {
    Operator createOperator(Operator operator);
    Operator updateOperator(Long id, Operator operator);
    void deleteOperator(Long id);
    Operator getOperatorById(Long id);
    Operator getOperatorByUsername(String username);
    Page<Operator> getAllOperators(Pageable pageable);
}